<!DOCTYPE html>
<html>
<head>
  	<#import "../common/common.macro.ftl" as netCommon>
    <title>DATAX管理中心</title>
	<@netCommon.commonStyle />
    <!-- DataTables -->
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
    <!-- daterangepicker -->
    <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.css">
</head>
<body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && cookieMap["datax_adminlte_settings"]?exists && "off" == cookieMap["datax_adminlte_settings"].value >sidebar-collapse</#if>">
<div class="wrapper">
	<!-- header -->
	<@netCommon.commonHeader />
	<!-- left -->
	<@netCommon.commonLeft "joblog" />

	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>日志管理<small></small></h1>
		</section>

		<!-- Main content -->
	    <section class="content">

	    	<div class="row">
				<div class="col-xs-2">
					<div class="input-group">
						<span class="input-group-addon">任务文件名</span>
						<select class="form-control" id="taskId" paramVal="<#if taskId?exists>${taskId}</#if>" >
							<#list filenameList as file>
								<option value="${file.sysId}" >${file.name}</option>
							</#list>
						</select>
					</div>
				</div>
				<div class="col-xs-2">
					<div class="input-group">
						<span class="input-group-addon">状态</span>
						<select class="form-control" id="status" >
							<option value="-1" >全部</option>
							<option value="200" >成功</option>
							<option value="500" >失败</option>
							<option value="0" >进行中</option>
						</select>
					</div>
				</div>

				<div class="col-xs-4">
					<div class="input-group">
                		<span class="input-group-addon">
	                  		调度时间
	                	</span>
						<input type="text" class="form-control" id="filterTime" readonly >
					</div>
				</div>
	            <div class="col-xs-1">
	            	<button class="btn btn-block btn-info" id="searchBtn">搜索</button>
	            </div>
          	</div>

			<div class="row">
				<div class="col-xs-12">
					<div class="box">
			            <div class="box-body">
			              	<table id="data_list" class="table table-bordered table-striped" width="100%" >
				                <thead>
					            	<tr>
										<th name="sysId" >ID</th>
										<th name="taskId">任务编号</th>
					                	<th name="name">日志文件名</th>
					                  	<th name="createTime">创建时间</th>
					                  	<th name="modifyTime">更新时间</th>
					                  	<th name="total">记录总数</th>
					                  	<th name="failCount">失败总数</th>
					                  	<th name="description">说明</th>
					                  	<th name="msg">msg</th>
                                        <th name="path">文件路径</th>
										<th name="status">状态</th>
					                  	<th>操作</th>
					                </tr>
				                </thead>
				                <tbody></tbody>
				                <tfoot></tfoot>
							</table>
						</div>
					</div>
				</div>
			</div>

	    </section>
	</div>

	<!-- footer -->
	<@netCommon.commonFooter />
</div>

<@netCommon.commonScript />
<!-- DataTables -->
<script src="${request.contextPath}/static/adminlte/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="${request.contextPath}/static/plugins/jquery/jquery.validate.min.js"></script>
<!-- daterangepicker -->
<script src="${request.contextPath}/static/adminlte/bower_components/moment/moment.min.js"></script>
<script src="${request.contextPath}/static/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>

<script src="${request.contextPath}/static/js/joblog.index.1.js"></script>

</body>
</html>
